<div class='fui-page  fui-page-current'>
    <div class="fui-header">
	<div class="fui-header-left">
	    &nbsp;
	</div>
	<div class="title">核销台</div> 
	<div class="fui-header-right">&nbsp;</div>
    </div>
    <div class='fui-content navbar'>
	
	
	<div ng-if="!empty(pagedata.store)" class='fui-list-group' >
  
	  
	    <div class='fui-list'>
		<div class='fui-list-media'><i class='icon icon-shop'></i></div>
		<div class='fui-list-inner'>
		    <div class='title'>{{pagedata.store.title}}</div>
		</div>
	    </div>
	  
	</div>
<div class='fui-list-group' >
  
	  
	    <div class='fui-list'>
		<div class='fui-list-media'><img ng-src='{{tomedia(pagedata.member.avatar)}}' /></div>
		<div class='fui-list-inner'>
		    <div class='title'>{{pagedata.saler.name}}</div>
		    <div class='text'>{{pagedata.member.nickname}}</div>
		</div>
	    </div>
	  
	</div>
	
	
	<div class='fui-cell-group'>
	    <div class='fui-cell-title'>请输入消费码或自提码</div>
	    <div class='fui-cell'>
		
		<div class='fui-cell-info'>
		       <input type='text' class='fui-input' id='verifycode' placeholder='消费码或自提码' ng-model="pagedata.post.verifycode"/>
		</div>
		<div class='fui-cell-remark noremark'>
		       <div class='btn btn-danger btn-sm btn-search' href="javascript:;" ng-click="post(pagedata.post,'search')">查询订单</div>
			<a class='btn btn-danger btn-sm btn-search' href="javascript:;" ng-click="access_json('jy_weishop/verify.verifyorderlog')">核销记录</a>
		</div>
	    </div>
	</div>

	<div id='container'></div>
	
  
    </div>
    <div class='fui-footer'>
	<div class="btn btn-danger order-verify block" data-orderid="{$order['id']}" data-verifytype="{$order['verifytype']}">
	    <i class="icon icon-check"></i> 
	    <span>确定使用</span>
	</div>

    </div>
	
<div id='tpl_container' ng-if="pagedata.op=='search'">
	
	<div class='fui-list-group'>
	    <div class='fui-list order-status'>
		<div class='fui-list-inner'>
		    <div class='title'>{{pagedata.order.ordersn}}</div>
		    <div class='text'>订单金额: ￥{{pagedata.order.price}}<span></div>
		</div>
	    </div>
	</div>
    
	<div class='fui-list-group' >
	    <div class='fui-list'>
		<div class='fui-list-media'><i class='icon icon-person2'></i></div>
		<div class='fui-list-inner'>
		    <div class='title'>{{pagedata.carrier.carrier_realname}} {{pagedata.carrier.carrier_mobile}}</div>
		</div>
	    </div>
	</div>
    
    
	<div class="fui-list-group goods-list-group">  
	    <div class="fui-list-group-title"><i class="icon icon-shop"></i>{{pagedata.shop.name}}</div>
 
	  
	    <a ng-repeat="g in pagedata.allgoods" href="javascript:;" ng-click="access_json('jy_weishop/goods.detail//id='+g.goodsid)">

		<div class="fui-list goods-list">
		    <div class="fui-list-media">
			<img ng-src="{{tomedia(g.image)}}" class="round">
		    </div>
		    <div class="fui-list-inner">
			<div class="text goodstitle">{{g.title}}</div>
		    <div ng-if="g.optionid!='0'" class='subtitle'>{{g.optiontitle}}</div>

		    </div>
		    <div class='fui-list-angle'>
			￥<span class='marketprice'>{{g.price}}<br/>   x{{g.total}}</span>
		    </div>
		</div>
	    </a>
	</div>



</div>
    
</div>